package materials.data;

/**
 * Represents a DataMaterial for the Output of a Neuron. It has an
 * Identification Number, which represents the Neuron, the DataMaterial belongs
 * too. Furthermore it helds a DoubleValue which represents the Output.
 * 
 * @author Sheepy
 */
public class NeuronDataOutputMaterial {

	private double _output;
	private int _id;

	/**
	 * Sets the ID and the Output
	 * 
	 * @param id
	 * @param output
	 */
	public NeuronDataOutputMaterial(int id, double output) {
		_id = id;
		_output = output;
	}

	public NeuronDataOutputMaterial(int id) {
		_id = id;
	}

	/**
	 * Returns the ID of the Data Material ID Represents the NeuronID, to which
	 * the Data belongs too
	 * 
	 * @return int - Returns the ID 
	 */
	public int getID() {
		return _id;
	}

	/**
	 * Returns the Output of the Data Material
	 * 
	 * @return double - The Output of the Neuroncalculation
	 */
	public double getOutput() {
		return _output;
	}

	/**
	 * Sets the Output of the Data Material
	 * 
	 * @param output - The output which should be setted.
	 */
	public void setOutput(double output) {
		_output = output;
	}

}
